@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url("../images/空洞骑士.jpg") no-repeat;
   /* 此时会保持图像的纵横比并将图像缩放完全覆盖背景定位区域的最小大小 */
    background-size: cover;
}

.welcome {
    font-size: 24px;
    /* 文字居中对齐 */
    text-align: center;
    /* 外边距 */
    margin-bottom: 20px;
    color: rgba(50, 50, 50, 1);
}

.box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 300px;
    border-top: 1px solid rgba(255,255,255,0.5);
    border-left: 1px solid rgba(255,255,255,0.5);
    border-right: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(0, 0, 0, .5);
    backdrop-filter: blur(5px);
}

.top {
    font-size: 20px;
    color: rgba(35, 27, 57, 0.9);
    margin-top: 8px;
}

.input-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-bottom: 10px;
}

.input-box > label {
    margin-bottom: 10px;
    font-size: 18px;
    color: rgba(248, 188, 183, .8);
}

.input-box > input {
    margin-bottom: 5px;
    color: rgba(0,0,0,0.9);
    padding-left: 3px;
    font-size: 14px;
    height: 25px;
    width: 250px;
    background: rgba(214, 202, 202, 0.3);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 5px;
    transition: 0.5s;
    outline: none;
    caret-color: rgba(243, 142, 184,1);
    /* 字母间距 */
    letter-spacing: 1px;
}

.input-box > input:focus {
    background: rgba(227, 222, 222, 0.6);
}

.bun {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bun > button {
    width: 110px;
    height: 30px;
    color: rgba(14, 136, 158,0.9);
    background-color: rgba(224, 168, 196, 0.9);
    margin-bottom: 15px;
    border: 1px solid rgba(224, 168, 196,0.8);
    border-radius: 5px;
}

.bun > button:hover {
    border: 1px solid rgba(33, 25, 22,0.5);
    background: rgba(33, 25, 22,0.5);
}

.bun > button:active {
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    background: rgba(33, 25, 22,0.7);
}

.other {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* align-items: center; */
    width: 350px;
}

.other a {
 /* width: 65px; */
    font-size: 14px;
    text-decoration: none;
    color: rgba(255, 255, 255,0.9);
    transition-duration: 0.2s;
    transition-property: color;
}

.other a:first-child {
    margin-right: 80px;
    text-align: start;
}

.other label {
    font-size: 14px;
    text-decoration: none;
    color: rgba(255, 255, 255,0.9);
    transition-duration: 0.2s;
    transition-property: color;
    margin-left: 80px;
    text-align: end;
}

.other a:hover {
    color: rgba(63, 155, 232,0.9);
}

.other a:active {
    color: rgba(209, 158, 185,0.9);
}

.other label:hover {
    color: rgba(63, 155, 232,0.9);
}

.other label:active {
    color: rgba(209, 158, 185,0.9);
}

